#define _CRT_SECURE_NO_WARNINGS
#include "Sort.h"
using namespace std;

void TestInsertSort()
{
	int a[] = { 1,3,5,7,9,2,2,4,6,8 };
	InsertSort(a, sizeof(a) / sizeof(a[0]));
	PrintArray(a, sizeof(a) / sizeof(a[0]));
}

void TestShellSort()
{
	int a[] = { 1,3,5,7,9,2,2,4,6,8 };
	ShellSort(a, sizeof(a) / sizeof(a[0]));
	PrintArray(a, sizeof(a) / sizeof(a[0]));
}

int main()
{
	TestInsertSort();
	TestShellSort();

	return 0;
}
